package com.mimosa.common.system.dic;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.mimosa.common.dao.HibernateDao;

/**
 * 字典信息设置的DAO类
 * 
 * @filename TDicSettingEntityDao.java
 * @author ggeagle
 * @date 2013-6-25 下午5:46:39
 */
@Repository
public class TDicSettingEntityDao extends HibernateDao<TDicSettingEntity, String> {
	/**
	 * 根据类型获取字典实体
	 * 
	 * @param rwhat
	 * @return
	 */
	public List<TDicSettingEntity> getAllByClassType(String rwhat) {
		return this.find("from TDicSettingEntity t where t.classType=?", rwhat);
	}
}